import { IViewDetail, IContext, IParam } from '@/core';
import { PropType } from 'vue';

const modalProps = {
	//  视图详情
	view: {
		type: Object as PropType<IViewDetail>,
		required: true,
	},
	//  应用上下文
	context: {
		type: Object as PropType<IContext>,
	},
	//  视图参数
	viewParams: {
		type: Object as PropType<IParam>,
	},
};

export const ModalProps = modalProps;
